package com.lhq.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lhq.common.utils.PageUtils;
import com.lhq.gulimall.product.entity.SpuInfoDescEntity;
import com.lhq.gulimall.product.entity.SpuInfoEntity;
import com.lhq.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author lianghanqiang
 * @email 414464732@qq.com
 * @date 2022-08-28 11:26:45
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /***
     *商品上架
     * @param spuId
     * @return void
     * @Author lianghanqiang
     * @Date 2023/1/29 12:37
     **/
    void up(Long spuId);
}

